import 'package:flutter/cupertino.dart';

class HorizonConfig{
  static double w = 2400/3;
  static double h = 38.0;
  static double y = 104.0;
  static double x = 2.0;
}
class CloudConfig{
  static double w = 92.0;
  static double h = 28.0;
  static double y = 2.0;
  static double x = 166.0;
}
class DinoConfig{
  static double w = 528/6;
  static double h = 94.0;
  static double y = 2.0;
  static double x = 1336.5;
}
class DinoDownConfig{
  static double w = 236/2;
  static double h = 94.0;
  static double y = 2.0;
  static double x = 1866.0;
}
class ObstacleConfig{
  final double w;
  final double h;
  final double y;
  final double x;
  final String type;

  const ObstacleConfig._internal(
    this.type, {
      this.w,
      this.h,
      this.y,
      this.x,
    });

  static List<ObstacleConfig> list = [
    ObstacleConfig._internal(
      'Smaill',
      w: 204,
      h: 70,
      y: 2,
      x: 446
    ),
    ObstacleConfig._internal(
      'Large1',
      w: 98,
      h: 100,
      y: 2,
      x: 752
    ),
    ObstacleConfig._internal(
      'Large2',
      w: 200,
      h: 100,
      y: 2,
      x: 752
    ),
  ];
}
class SmallObstacleConfig{
  static double w = 204;
  static double h = 70.0;
  static double y = 2.0;
  static double x = 446.0;
}
class LargeObstacleConfig{
  static double w = 200;
  static double h = 100;
  static double y = 2.0;
  static double x = 752.0;
}
class TwoObstacleConfig{
  static double w = 98;
  static double h = 100;
  static double y = 652;
  static double x = 752.0;
}